package com.zj.android.fragment

import android.os.Bundle
import com.zj.android.BR
import com.zj.android.R
import com.zj.android.databinding.FragmentBlankBinding
import com.zj.android.model.BlankViewModel
import com.zj.common.fragment.BaseFragment

class BlankFragment : BaseFragment<BlankViewModel, FragmentBlankBinding>() {
    override fun layoutId(): Int {
        return R.layout.fragment_blank
    }

    override fun initData(savedInstanceState: Bundle?) {
        viewModel.strLiveData.observe(this) {
            binding.name.text = it
        }
    }

    override fun variableId(): Int {
        return BR.blank
    }
}